import request from '@/utils/request'

// 查询标准票库列表
export function listStandard_ticket(query) {
  return request({
    url: '/standard_ticket/standard_ticket/list',
    method: 'get',
    params: query
  })
}

// 查询标准票库详细
export function getStandard_ticket(id) {
  return request({
    url: '/standard_ticket/standard_ticket/' + id,
    method: 'get'
  })
}

// 新增标准票库
export function addStandard_ticket(data) {
  return request({
    url: '/standard_ticket/standard_ticket',
    method: 'post',
    data: data
  })
}

// 修改标准票库
export function updateStandard_ticket(data) {
  return request({
    url: '/standard_ticket/standard_ticket',
    method: 'put',
    data: data
  })
}

// 删除标准票库
export function delStandard_ticket(id) {
  return request({
    url: '/standard_ticket/standard_ticket/' + id,
    method: 'delete'
  })
}
